#include <iostream>
using namespace std;

int main()
{
  cout << (true && false) << endl;
  cout << (true || false) << endl;
  cout << (!true) << endl;

  return 0;
}
